from django.apps import AppConfig


class NotificationAppConfig(AppConfig):
    default_auto_field = "django.db.models.BigAutoField"
    name = "notification_app"

    def ready(self):
        # 注册Swagger文档扩展
        try:
            import notification_app.openapi  # noqa
        except ImportError:
            pass